home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / msdos / lynx / source / doslynx / inc / memstrat.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-25  |  727 b   |  33 lines

  1. #ifndef __MEMSTRAT_H
  2. //    Avoid include redundancy
  3. #define __MEMSTRAT_H
  4.  
  5. //    Copyright (c) 1994, University of Kansas, All Rights Reserved
  6. //
  7. //    Include File:    memstrat.h
  8. //    Purpose:    Set or get the DOS memory allocation strategy.
  9. //    Remarks/Portability/Dependencies/Restrictions:
  10. //        Can only be used with DOS versions 3.0 or greater.
  11. //    Revision History:
  12. //        04-20-94    created
  13.  
  14. //    Constant defines
  15. enum StrategyType    {
  16.     firstFit = 0,
  17.     bestFit,
  18.     lastFit
  19. };
  20.  
  21. //    Required includes
  22.  
  23. //    Class declarations
  24. extern StrategyType getMemoryAllocationStrategy();
  25. extern void setMemoryAllocationStrategy(const StrategyType ST_fit =
  26.     firstFit);
  27.  
  28. //    Global variable declarations
  29.  
  30. //    Macros
  31.  
  32. #endif // __MEMSTRAT_H
  33.